namespace Mbl.ParameterizedTest.FluentCollectionBuilding.Expectors.IntExpectations
{
    public class GreaterThanExpectation : PredicateExpectation<int>
    {
        private readonly int _expected;

        public GreaterThanExpectation(int expected)
            : base(actual => actual > expected)
        {
            _expected = expected;
        }

        protected override string GetErrorMessage(int actual)
        {
            return $"Expected a value greater than <{_expected}>. Actual <{actual}>.";
        }
    }
}